<extend name="Public/base"/>
<block name="content">
    <div class="row-fluid">
        <div class="block">
            <div class="navbar navbar-inner block-header">
                <div class="muted pull-left">科技查新机构列表</div>
            </div>
            <div class="block-content collapse in">
                <div class="span12">
                    <div class="table-toolbar">
                        <div class="btn-group">
                            <a href="{:U('User/unitAdd')}"><button class="btn btn-success">添加人员 <i class="icon-plus icon-white"></i></button></a>
                        </div>
                    </div>
                </div>
                <empty name="list">
                    对不起！暂时没有潮汛到您所查询的数据。
                    <else/>
                    <table cellpadding="0" cellspacing="0" border="0" class="table table-striped table-bordered">
                        <thead>
                        <tr>
                            <th>id</th>
                            <th>用户名</th>
                            <th>操作</th>
                        </tr>
                        </thead>
                        <tbody>
                        <volist name="list" id="vo">
                            <tr class="odd gradeX">
                                <td>{$vo.id}</td>
                                <td>{$vo.username}</td>
                                <td class="center">
                                    <a href="{:U('User/unitDel',array('uid'=>$vo['id'],'department'=>$department))}">删除</a>
                                </td>
                            </tr>
                        </volist>
                        </tbody>
                    </table>
                </empty>
            </div>
        </div>
    </div>
</block>